HasVariable Method

Syntax

Context.Session.HasVariable as L (Key as C)

Arguments

L

Return .t. or .f. whether the session-state contains the named variable.

Key as C

The key of the session-state variable.

Description

Checks whether the session-state has a variable or not.

Discussion

Context.Session.HasVariable() checks if the session-state contains a variable. A session variable may have been set, but be empty. If this method returns .F. a session variable with that key has never been set.